//
//  Parameters_IRFC_LowPass.h
//  FilterModule_Standalone
//
//  Created by kadlubek47 on 01.08.2013.
//  Copyright (c) 2013 kadlubek47. All rights reserved.
//

#ifndef LowPassFilter_Standalone_Parameters_IRFC_LowPass_h
#define LowPassFilter_Standalone_Parameters_IRFC_LowPass_h

#include "FilterModuleTypes.h"  //< 


class Parameters_IRFC_LowPass {
public:
    float_type oscillationInPass_;
	float_type oscillationInStop_;
    unsigned int fpass_, fstop_;
	unsigned int  samplingRate_;
    
    Parameters_IRFC_LowPass() {}
    Parameters_IRFC_LowPass (float_type  oscillationInPass, float_type oscillationInStop, unsigned int fpass, unsigned int fstop, unsigned int sampleRate) {
        oscillationInPass_  = oscillationInPass;
        oscillationInStop_  = oscillationInStop;
        fpass_              = fpass;
        fstop_              = fstop;
        samplingRate_       = sampleRate;
    }
    bool operator !=(const Parameters_IRFC_LowPass& secondParameters) {
        const Parameters_IRFC_LowPass& p = dynamic_cast<const Parameters_IRFC_LowPass&> (secondParameters);
        if(oscillationInPass_  != p.oscillationInPass_  ||
           oscillationInStop_  != p.oscillationInStop_ ||
           fpass_              != p.fpass_             ||
           fstop_              != p.fstop_             ||
           samplingRate_       != p.samplingRate_
        )
            return true;
        return false;
    }
};

#endif
